#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include"TestLogger.h"
#include <stdarg.h>
using namespace lin::utility;


#include<Windows.h>



int main()
{

	float x, y, a;
	for (y = 1.5; y > -1.5; y -= 0.1)
	{
		for (x = -1.5; x < 1.5; x += 0.05)
		{
			a = x * x + y * y - 1;
			putchar(a * a * a - x * x * y * y * y <= 0.0 ? '*' : ' ');
		}
		system("color 0c");
		putchar('\n');
	}
	
	system("pause");
	return EXIT_SUCCESS;
}
#if 0


	// 初始化日志对象
	Logger* log = Logger::instance();
	log->open("./main.log");
	log->max(1024);  // 字节为单位
	// Logger::instance()->level(Level::FATAL);
	// 非正常访问
	//log->log(Level::DEBUG, __FILE__, __LINE__, "helloworld");
	debug(" name=%s age=%d", "jack", 18);
	info(" name=%s age=%d", "rose", 18);

	log->close();


#endif



